package com.lyeducation.controllers.dto.system;

import com.lyeducation.entities.system.SysUserEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BackstageSysUserDto extends SysUserDto {
    private boolean isDelete;
    private boolean enabled;

    public BackstageSysUserDto(
            SysUserEntity sysUserEntity) {
        super(sysUserEntity);
        this.isDelete = sysUserEntity.getIsDelete();
        this.enabled = sysUserEntity.isEnabled();

    }
}
